package wrapper;

import java.io.File;

/**
 * Created by lincl on 2017/5/16.
 */
public class FileWrapper {
    private File oldFile;
    private File newFile;

    public static FileWrapper getInstance(File oldFile, File newFile){
        return new FileWrapper(oldFile, newFile);
    }

    public FileWrapper(File oldFile, File newFile) {
        this.oldFile = oldFile;
        this.newFile = newFile;
    }

    public File getOldFile() {
        return oldFile;
    }

    public void setOldFile(File oldFile) {
        this.oldFile = oldFile;
    }

    public File getNewFile() {
        return newFile;
    }

    public void setNewFile(File newFile) {
        this.newFile = newFile;
    }
}
